<!DOCTYPE html>
<html>
<head>
<title>ɨ��֧��ǰ̨demo</title>
<meta name="keywords" content="�ؼ���">
<meta name="description" content="����">
<meta name="content-type" content="text/html;charset=gbk">
<script type="text/javascript" src="../public/js/jquery-1.9.1.min.js"></script>
<script src="../public/js/qrcode.js"></script>
</head>

<body>
	<div align="center" id="qrcode">
		<p>ɨһɨ</p>
	</div>
</body>

<script>
	//�������,������payController��code_url
	var url = "weixin://wxpay/bizpayurl?sign=XXXXX&appid=XXXXXX&productid=XXXXXX&timestamp=XXXXXX&noncestr=XXXXXX";
	// ����1��ʾͼ���С��ȡֵ��Χ1-10������2��ʾ������ȡֵ��Χ'L','M','Q','H'
	var qr = qrcode(10, 'M');
	qr.addData(url);
	qr.make();
	var dom = document.createElement('DIV');
	dom.innerHTML = qr.createImgTag();
	var element = document.getElementById("qrcode");
	element.appendChild(dom);
</script>

</html>